package com.second;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;
@ServletComponentScan
@MapperScan (basePackages = {"com.second.mapper"})
@EnableTransactionManagement
@SpringBootApplication
@EnableScheduling // 开启定时任务调度
public class FoodreviewsApplication {

    public static void main(String[] args) {
        SpringApplication.run(FoodreviewsApplication.class, args);
    }

}
